//
//  ElectricityManager.h
//  EasyToo
//
//  Created by YuanDee on 13-9-14.
//
//

#import <Foundation/Foundation.h>
#import "ServerCommunicationDelegate.h"
@protocol ElectricityManagerDelegate <NSObject>
@optional

- (void)onCheckElectricInfoFinish:(BOOL)isSuccess
             electricFeeInfoArray:(NSMutableArray*)electricFeeInfoArray;

- (void)onOrderElectricFinish:(BOOL)isSuccess
                          Tn:(NSString*)tn;

@end


@interface ElectricityManager : NSObject <ServerCommunicationDelegate>

@property (nonatomic, assign) id<ElectricityManagerDelegate> delegate;

+ (ElectricityManager*)shareManager;

- (void)checkElectricInfo:(NSString*)clientId;

-(void)orderElectricWithClientId:(NSString*)clientId
                   andClientName:(NSString*)clientName
                     andBillDate:(NSString*)billDate
                   andBillMonths:(NSString*)billMonths
                     andTotalFee:(NSString*)totalFee;

@end
